home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWToolbx / Include / SLMixOS.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.7 KB  |  67 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SLMixOS.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef SLMIXOS_H
  11. #define SLMIXOS_H
  12.  
  13. // ----- Macintosh Includes -----
  14.  
  15. #if defined(FW_BUILD_MAC) && !defined(__QUICKDRAW__)
  16. #include <QuickDraw.h>
  17. #endif
  18.  
  19. // ----- Windows Includes -----
  20.  
  21. #if defined(FW_BUILD_WIN) && !defined(_INC_WINDOWS)
  22. #include <windows.h>
  23. #endif
  24.  
  25. //========================================================================================
  26. //    Forward Declarations
  27. //========================================================================================
  28.  
  29. struct FW_SRect;
  30.  
  31. //========================================================================================
  32. //    Utilities
  33. //========================================================================================
  34.  
  35. // For CFM-68K [sfu]
  36.  
  37. #if defined(FW_ODFLIB_IMPORT)
  38. #pragma import on
  39. #elif defined(FW_ODFLIB)
  40. #pragma export on
  41. #endif
  42.  
  43. FW_EXTERN_C_BEGIN
  44.  
  45. //----------------------------------------------------------------------------------------
  46. //    Public API
  47. //
  48. FW_PlatformError SL_API    FW_CenterRectOnScreen(FW_SRect& aRect, 
  49.                                         FW_Boolean horizontally, 
  50.                                         FW_Boolean vertically, 
  51.                                         FW_Boolean forDialog);
  52. FW_PlatformError SL_API FW_GetMainScreenBounds(FW_SRect& bounds);
  53. void SL_API             FW_Beep();
  54. unsigned long SL_API    FW_GetTickCount();
  55.  
  56. FW_EXTERN_C_END
  57.  
  58. // For CFM-68K [sfu]
  59.  
  60. #if defined(FW_ODFLIB_IMPORT)
  61. #pragma import off
  62. #elif defined(FW_ODFLIB)
  63. #pragma export off
  64. #endif
  65.  
  66.  
  67. #endif